package bjut.zrpc.core.optimization.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/23 22:05
 */
@AllArgsConstructor
@Getter
public enum ZRpcConfigEnum {

    ZRPC_CONFIG_NAME(new String[]{"application.properties","application.yaml","zrpc.properties"}),

    ZOOKEEPER_SERVER_CONFIG(new String[]{"zrpc.zookeeper.server.address"}),

    ZRPC_LOADBALANCE(new String[]{"zrpc.loadbalance"}),

    ZRPC_REGISTRY(new String[]{"zrpc.registry"}),

    ZRPC_SERIALIZER(new String[]{"zrpc.serializer"}),

    ZRPC_COMPRESS(new String[]{"zrpc.compress"}),

    ZRPC_TRANSPORTS(new String[]{"zrpc.transport"}),

    ZRPC_SERVICE_DISCOVER(new String[]{"zrpc.discover"}),

    ZRPC_DIRECT_SERVER_ADDRESS(new String[]{"zrpc.direct.server.address"});

    private String[] propertyValue;

}
